--- src/arch/unix/joy.c
+++ src/arch/unix/joy.c
@@ -124,7 +124,7 @@
 #define JS_DATA_TYPE joystick
 #define JS_RETURN    sizeof(struct joystick)
 int     use_old_api=1;
-#elif
+#else
 #error Unknown Joystick
 #endif
 
